package com.zyh.server.config;

/**
 * @Author: zyh
 * @Date: 2024-11-13-11:25
 * @Description 系统常量
 */
public class Constant {
	/**
	 * 用户唯一标识token前缀
	 */
	public static final String REDIS_TOKEN_PREFIX="tk_";

	/**
	 * token过期时间
	 */
	public static final Integer REDIS_TOKEN_EXPIRE=30;


	/**
	 * 秒杀商品前缀
	 */
	public static final String REDIS_MIAOSHA_GOODS_PREFIX="miaosha_goods_";

	/**
	 * 秒杀商品过期时间
	 */
	public static final Integer REDIS_MIAOSHA_GOODS_EXPIRE=60*12;



}
